#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>

int main() {
    int weight, stature;
    double BMI;
    scanf("%d %d", &weight, &stature);
    if (weight >= 50 && weight <= 180 || stature >= 50 && stature <= 180)
    {
        BMI = weight / ((double)stature * stature / 10000);
        printf("%.2lf", BMI);
    }

    return 0;
}